<template>
  <div class="bottom-part">
    <div class="background-img-wrap">
      <img class="background-img" :src="bgImage" />
    </div>
    <div class="logo">
      <img :src="logoImage" />
      <div class="slogan">
        <h3>创作你的创作</h3>
        <h6>一个优质创作社区</h6>
      </div>
    </div>
    <button class="ios-link">
      <span class="iconfont ic-ios">&#xe676;</span>
      <span>iOS 下载</span>
    </button>
    <router-link to="/">
      <div class="more">
        去看看热门文章
        <span class="iconfont ic-arrow">&#xe62d;</span>
      </div>
    </router-link>
  </div>
</template>

<script>
export default {
  name: 'DownloadFooter',
  data () {
    return {
      bgImage: require('images/misc-background.png'),
      logoImage: require('images/misc-logo.png')
    }
  }
}
</script>

<style scoped>
  .bottom-part {
    padding: .8rem 0;
    text-align: center;
  }
  .background-img-wrap {
    overflow: hidden;
    height: 0px;
    padding-bottom: 22.5%;
  }
  .background-img {
    width: 100%;
  }
  .logo {
    margin: -1.28rem 0 .4rem;
    text-align: center;
  }
  .logo>img {
    width: 1.28rem;
    height: 1.28rem;
    vertical-align: middle;
  }
  .slogan {
    display: inline-block;
    margin-left: .24rem;
    text-align: left;
    vertical-align: middle;
  }
  .slogan>h3 {
    font-size: .48rem;
    line-height: 1.6;
  }
  .slogan>h6 {
    font-size: .3rem;
    font-weight: 300;
    line-height: 1.6;
  }
  .ios-link {
    background: #6dacf4;
    width: 4.8rem;
    margin: .2rem 0;
    padding: .26rem 0;
    border-radius: .08rem;
    color: #fff;
  }
  .ios-link>span {
    font-size: .36rem;
    vertical-align: middle;
    line-height: .46rem;
    font-family: sans-serif;
  }
  .ic-ios {
    font-size: 20px !important;
    margin-right: .08rem;
    vertical-align: middle;
  }
  .more {
    display: block;
    margin-top: .3rem;
    font-size: 15px;
    line-height: 1.6;
    color: #999;
  }
  .ic-arrow {
    vertical-align: text-bottom;
    font-size: 12px;
  }
</style>
